-- GENERATED SPELL FOR [Hellfire Sentry] --


function spell0_17517(pUnit, Event) --@Kidney Shot,n/a--
pUnit:FullCastSpellOnTarget(30621,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17517', 3000, 1)
end

function Sorts_17517(pUnit, Event)
local choix_sorts_17517 = math.random(0, 0)
if choix_sorts_17517 == 0 then
pUnit:RegisterEvent('spell0_17517', 1, 1)
end
end

function mob17517_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17517', math.random(1500, 3000), 1)
end

function mob17517_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17517_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17517_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17517, 1, 'mob17517_Action')
RegisterUnitEvent(17517, 2, 'mob17517_Leave')
RegisterUnitEvent(17517, 3, 'mob17517_Kill')
RegisterUnitEvent(17517, 4, 'mob17517_Die')
